package com.wxj.bank.api.service.impl;

import com.wxj.bank.api.service.IStudentBusinessService;
import com.wxj.bank.storage.model.Student;
import com.wxj.bank.storage.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shengtao
 * @Description: 学生服务类
 * @date 2019/02/18 16:49
 */
@Service
public class StudentBusinessServiceImpl implements IStudentBusinessService{

    @Autowired
    private IStudentService studentService;


    @Override
    public List<Student> findAll() {
        return studentService.findAll();
    }
}
